package com.itheima.pinda.config;

import com.itheima.pinda.database.datasource.BaseMybatisConfiguration;
import com.itheima.pinda.database.properties.DatabaseProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: duk
 * @Date: 2022/4/12 20:15
 * @Description:  Mybatis相关配置
 */
@Configuration
@Slf4j
public class MybatisAutoConfiguration extends BaseMybatisConfiguration {
    public MybatisAutoConfiguration(DatabaseProperties databaseProperties) {
        super(databaseProperties);
        log.info("database：[{}]",databaseProperties);
    }
}
